package com.adnaan.restaurant.service.impl;

import com.adnaan.restaurant.entity.ResBanner;
import com.adnaan.restaurant.mapper.ResBannerMapper;
import com.adnaan.restaurant.service.IResBannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 轮播图Service业务层处理
 *
 * @author code_yong
 * @date 2023-09-27
 */
@Service
public class ResBannerServiceImpl implements IResBannerService {
    @Autowired
    private ResBannerMapper resBannerMapper;

    /**
     * 查询轮播图列表
     *
     * @param resBanner 轮播图
     * @return 轮播图
     */
    @Override
    public List<ResBanner> selectResBannerList() {
        return resBannerMapper.selectResBannerList();
    }
}
